Skip to content

Require ext-filter for Psalm 7.17 - #176

Merged
PDowney merged 1 commit into
mainfrom
psalm-ext-requirements
Nov 24, 2026
Merged

PDowney merged 1 commit into
mainfrom
psalm-ext-requirements

Conversation

@PDowney

@PDowney PDowney commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Psalm 7.17.0 adds MissingExtensionRequirement: uninstall.php calls filter_var(), which is part of ext-filter, and composer.json did not require it. The Psalm job installs the highest dependencies, so it fails on every pull request until this lands.

  • composer.json requires ext-filter; composer.lock has the refreshed content hash only.

Checked locally: composer validate --strict, and Psalm 7.17.0 reports no errors.

🤖 Generated with Claude Code

Psalm 7.17 reports MissingExtensionRequirement for filter_var() when
composer.json does not require ext-filter. The code needs the
extension, so composer.json now requires it; the lock hash is refreshed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for contributing to EngineScript Site Optimizer!

Before we review:

  • Have you tested your changes with WordPress 7.0+?
  • Are your changes compatible with PHP 8.3+?
  • Have you followed WordPress coding standards?
  • Did you update the CHANGELOG.md if needed?

Security Reminder
This plugin stores per-site settings and emits browser resource hints, so please ensure:

  • All user input is properly sanitized
  • All output is properly escaped
  • No security vulnerabilities are introduced

We'll review your PR soon.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@PDowney
PDowney merged commit 80210ed into main Nov 24, 2026
26 checks passed
@PDowney
PDowney deleted the psalm-ext-requirements branch November 24, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant